const menuToggle = document.querySelector('.toggle');
const showcase = document.querySelector('.showcase');

menuToggle.addEventListener('click', () => {
  menuToggle.classList.toggle('active');
  showcase.classList.toggle('active');
})

showcase.addEventListener('click', (e) => {
  //console.log('click:' + e.target.className);
  if (e.target.className!="toggle" && e.target.id == "overlayforimg"||e.target.className == "text"
  ||e.target.id =="clickblank") {
      menuToggle.classList.toggle('active');
      showcase.classList.toggle('active');
  }
})

function dialog() {
  alert("开发ing，敬请期待......");
}